package com.school.dao;

import com.school.domain.ClassRoom;

import java.util.List;

public interface ClassRoomDao {
    boolean add(ClassRoom classRoom);
    boolean del(long rid);
    boolean del(String name);
    boolean update(ClassRoom classRoom);
    ClassRoom findById(long rid);
    ClassRoom findByName(String name);
    List<ClassRoom> findAll();
}
